package com.allenjsl.springactuator.config;


import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.scheduling.annotation.EnableAsync;
import org.springframework.scheduling.concurrent.ThreadPoolTaskExecutor;

import java.util.concurrent.Executor;
import java.util.concurrent.ThreadPoolExecutor;

/**
 * @Description:    微服务配置
 * @Author:         xiaoliang.chen
 * @Date:     2019/2/21 上午11:46
 */
@Configuration
public class AppConfig {
    @Bean
    public BeanContextAware beanContextAware() {
        return new BeanContextAware();
    }
}
